package com.fyt.reachgo.utils;

public class RedisConstants {
    public static final String LOGIN_CODE_KEY = "loginByCode:code:";
    public static final Long LOGIN_CODE_TTL = 2L;
    public static final String LOGIN_USER_KEY = "loginByCode:token:";
    public static final Long LOGIN_USER_TTL = 60L;

    public static final String CACHE_TRAVEL_GUIDE_LIST_KEY = "cache:TravelGuideList:key:";
    public static final String CACHE_TRAVEL_GUIDE_KEY = "cache:TravelGuide:key:";

    public static final String CACHE_TRAVEL_GUIDE_COMMENTS_KEY = "cache:TravelGuide:comments:key:one";

    public static final String CACHE_PROVINCE_KEY = "cache:province:key";
    public static final Long CACHE_PROVINCE_TTL = 30L;
    public static final String CACHE_CITY_KEY = "cache:city:key";
    public static final Long CACHE_CITY_TTL = 30L;
    public static final String CACHE_CITY_ONE = "cache:city:one";
    public static final Long CACHE_CITY_ONE_TTL = 60L * 30 ;

    public static final Long CACHE_NULL_TTL = 2L;
    public static final Long CACHE_TTL = 20L;

    public static final String USER_TANT_LIST_KEY = "user:tant:list:key:";

    public static final String GET_TRAVEL_REQ_BY_USER_KEY = "getTravelReqByUser:key:";
    public static final Long GET_TRAVEL_REQ_BY_USER_TTL = 15L;

    public static final String GET_TRAVEL_REQ_BY_USERS_KEY = "getTravelReqByUsers:key:";
    public static final Long GET_TRAVEL_REQ_BY_USERS_TTL = 20L;

    public static final Long CACHE_COLLECT_TTL = 15L;
}
